export default {
  getCategory: req => {
    return {
      success: true,
      code: 200,
      data: [
        {
          id: 0,
          name: '推荐专区',
          banner: require('@/static/images/product/new_user_banner.jpg'),
          sub: [
            {
              id: 22,
              name: '陶瓷特惠',
              pic: require('@/static/images/product/p1.jpg')
            },
            {
              id: 23,
              name: '陶瓷折扣',
              pic: require('@/static/images/product/p2.jpg')
            },
            {
              id: 24,
              name: '陶瓷折扣',
              pic: require('@/static/images/product/p1.jpg')
            },
            {
              id: 25,
              name: '陶瓷精品',
              pic: require('@/static/images/product/p2.jpg')
            }
          ]
        },
        {
          id: 1,
          name: '精品陶瓷1'
        },
        {
          id: 2,
          name: '精品陶瓷2'
        },
        {
          id: 3,
          name: '精品陶瓷3'
        },
        {
          id: 4,
          name: '精品陶瓷4'
        },
        {
          id: 5,
          name: '精品陶瓷5'
        },
        {
          id: 6,
          name: '精品陶瓷6'
        }
      ],
      msg: '获取分类数据成功'
    }
  },
  getSubCategoryByPid: req => {
    return {
      success: true,
      code: 200,
      data: {
        id: 0,
        name: '推荐专区',
        banner: require('@/static/images/product/new_user_banner.jpg'),
        sub: [
          {
            id: 22,
            name: '陶瓷特惠',
            pic: require('@/static/images/product/p1.jpg')
          },
          {
            id: 23,
            name: '陶瓷折扣',
            pic: require('@/static/images/product/p2.jpg')
          },
          {
            id: 24,
            name: '陶瓷折扣',
            pic: require('@/static/images/product/p1.jpg')
          },
          {
            id: 25,
            name: '陶瓷精品',
            pic: require('@/static/images/product/p2.jpg')
          }
        ]
      },
      msg: '获取分类数据成功'
    }
  },
  getGoodsByCategory: req => {
    return {
      success: true,
      code: 200,
      data: [
        {
          pic: require('@/static/images/product/p1.jpg'),
          name: '元代釉里红盘口梅瓶',
          desc: '藏品规格：口径：7.1cm 低径：12cm 高：33.5cm 藏品编号：15e1b54989e3f9bb05312e6bc959951b2574878cccf0514c6903e775160c9d19',
          price: '29900'
        },
        {
          pic: require('@/static/images/product/p2.jpg'),
          name: '乾隆撇口瓶',
          desc: '藏品规格：高：22.3cm 口径：6cm 底径：6.1cm / 藏品编号：PM110301',
          price: '19999'
        },
        {
          pic: require('@/static/images/product/p1.jpg'),
          name: '元代釉里红盘口梅瓶',
          desc: '藏品规格：口径：7.1cm 低径：12cm 高：33.5cm / 藏品编号：15e1b54989e3f9bb05312e6bc959951b2574878cccf0514c6903e775160c9d19',
          price: '29900'
        }
      ],
      msg: '获取商品数据成功'
    }
  }
}
